package com.project.cheat;

import java.io.Serializable;

public class Request implements Serializable {
    private String msg;
    private String from = "111";
    private String pwd;
    private String to;
    private boolean islogin = false;

    public Request(String from, String pwd, boolean islogin) {
        this.from = from;
        this.pwd = pwd;
        this.islogin = islogin;
    }

    public Request(String msg, String from, String to) {
        this.msg = msg;
        this.from = from;
        this.to = to;
    }

    public Request(String msg) {
        this.msg = msg;
    }

    public String getPwd() {
        return pwd;
    }

    public void setPwd(String pwd) {
        this.pwd = pwd;
    }

    public boolean isIslogin() {
        return islogin;
    }

    public void setIslogin(boolean islogin) {
        this.islogin = islogin;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public String getFrom() {
        return from;
    }

    public void setFrom(String from) {
        this.from = from;
    }

    public String getTo() {
        return to;
    }

    public void setTo(String to) {
        this.to = to;
    }
}
